Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add variadic template support to min, max, any/all_finite/nan/inf functions and moved them out of the 'internal' namespace. #43

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Illia-Vidanov
Copy link

Hi!
I am really like your compile-time math functions library and would like to contribute some functionality I would be happy to have in it.
First of all I moved is/any/all_finite/nan/inf out of the 'internal' namespace and added support of variadic argument count to them, as well as to min and max functions.
I really tried to follow your coding style, but I apologize in advance if something is wrong written (especially in doxygen comments, I've never worked with them).

Took functions is/any/all_finite/nan/inf from 'internal' namespace. It is really usefull to have them avaliable because constexpr imlementation of corresponding functions in std avaliable only from c++23

Reimlemeted any/all_ variants using variadic template arguments
Added overload of min and max functions that accept variadic number of arguments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant